from django.shortcuts import render
from rest_framework import viewsets

from students.models import Student
from students.serializers import StudentSerializer


# Create your views here.
class StudentViewSet(viewsets.ModelViewSet):
    queryset = Student.objects.all()
    serializer_class = StudentSerializer